* {
  box-sizing: border-box;
}

html, body, #app {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  overflow: scroll;
}

#app {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.main {
  display: flex;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 80px;
  align-items: stretch;
}

.left, .right {
  display: flex;
  flex-direction: column;
}

.left {
  flex: 1;
}
.left .video {
  flex: 1;
  margin-bottom: 30px;
  background: linear-gradient(to right top, #000, #333);
}

.right {
  min-width: 300px;
  margin-left: 15px;
}
.right .messages {
  flex: 1;
  height: 0;
  padding: 15px;
  margin-bottom: 30px;
  border-left: 1px solid #eee;
  overflow: scroll;
  font-size: 17px;
}
.messages .popup {
  margin-top: 10px;
}
.messages .popup .avatar {
  color: royalblue;
}
.messages .popup .avatar::after {
  content: ':';
}
.messages .popup .content {
  color: #333;
  margin: 0 10px;
}
.right textarea {
  width: 100%;
  padding: 5px;
  resize: none;
  line-height: 1.5;
  outline: none;
  border-radius: 5px;
  border: 1px solid lightgray;
  font-size: 16px;
}
.right textarea:focus {
  border: 1px solid steelblue;
}

.config {
  margin-top: 100px;
  color: #999;
}
